//
//  TeleplayCollectionViewCell.m
//  PlayerFix
//
//  Created by dllo on 15/11/7.
//  Copyright © 2015年 DAT. All rights reserved.
//

#import "TeleplayCollectionViewCell.h"

@implementation TeleplayCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [self createSubViews];
    }
    return self;
}

- (void)createSubViews{
    self.aLabel = [[UILabel alloc] initWithFrame:self.contentView.bounds];
    [self.contentView addSubview:self.aLabel];
}

- (void)setDataMinModel:(DataMinModel *)dataMinModel
{
    if (_dataMinModel != dataMinModel) {
        _dataMinModel = dataMinModel;
    }
    self.aLabel.text = dataMinModel.title;
//    NSLog(@"==================%@",dataMinModel.title);
//    self.aLabel.backgroundColor = [UIColor lightGrayColor];
    self.aLabel.textAlignment = NSTextAlignmentCenter;
    self.aLabel.layer.borderColor = [[UIColor lightGrayColor] CGColor];
    self.aLabel.layer.borderWidth = 1;
}

@end
